const router = require('koa-router')()
const UserController = require('../controllers/user')
router.post('/user', UserController.create)
router.get(
  '/user/:id',
  UserController.detail
)
module.exports = router

